﻿<UserControl x:Class="GraphDrawer.NewNodePopUp"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     xmlns:m="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls.WatermarkedTextBox" >
    <Grid x:Name="MainPopupGrid" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
        
        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Opacity="0.25" Fill="Black" />
        <Border CornerRadius="30" Background="Azure" Width="300" Height="260">
            
            <StackPanel Margin="5, 5, 0, 5">     
                
                <Button Click="CloseBtn_Click" Content="Close" Style="{StaticResource CloseButton}"/>
                <TextBlock  Text="Create new node with selected color" Margin="20,0,0,0" Foreground="Black"/>
                <m:WatermarkedTextBox  Name="Name" Height="29" Margin="20,20,20,0"  Watermark="Name" TextWrapping="Wrap"/>
                <ComboBox Name="ComboBoxStateNames" Height="29" Margin="20,10,20,0"  />
                <ComboBox Name="ComboBoxColors" Height="29" Margin="20,10,20,0"  />
                <CheckBox Name="StartState" Margin="20,10,20,0" IsChecked="true">
                    <TextBlock>
                        Is Start State
                    </TextBlock>
                </CheckBox>
                <Button Width="100" Click="Button_Click" Content="OK"  Margin=" 0 ,20, 0,0" />
            </StackPanel>              
        </Border>       
    </Grid>
</UserControl>

